package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    List<Customer> queryPageCustomer(@Param("jumpCount") Integer jumpCount,@Param("rows") Integer rows
            ,@Param("customerName") String customerName);

    Integer queryPageCustomerCount(@Param("customerName")String customerName);

    void save(Customer customer);

    Integer update(Customer customer);

    void deleteCustomersByIds(@Param("idList") List<String> idList);
}
